package login

import (
	v1 "ginweb-admin/api/v1"
	"github.com/gin-gonic/gin"
)

type LogoutRouter struct{}

func (router *LogoutRouter) InitLogoutRouter(Router *gin.RouterGroup) {
	// 获取api接口
	logoutApi := v1.WebApiGroupApp.Logout.LogoutAPi
	// 创建路由组
	logoutApiGroup := Router.Group("/login")
	{
		// 退出登录接口
		logoutApiGroup.POST("/logout", logoutApi.Logout)
	}

}
